import React, { Component, Fragment } from 'react';
class EmptyReact extends Component {
    componentDidMount() {
        console.log('EmptyReact', this.props);
    }
    render() {
        return (
            <Fragment>
                <p>Fragment作为根节点的组件</p>
                <Fragment>
                    <p>Fragment作为根节点的组件</p>
                    <Fragment>
                        <p>Fragment作为根节点的组件</p>
                    </Fragment>
                </Fragment>
            </Fragment>
        );
    }
}

export default EmptyReact;
